import React, {Component} from 'react';

export function hoc3(WrappendComponent) {
    return class extends React.Component{
        render(){
            return <WrappendComponent/>
        }
    }
}
export function hoc4(WrappendComponent, userName, age) {
    return class extends React.Component{
        render(){
            return <WrappendComponent userName={userName} age={age}/>
        }
    }
}